/*公共样式--开始*/
html,
body,
div,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ol,
form,
input,
textarea,
th,
td,
select {
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}

body {
  font-family: "Microsoft YaHei";
  font-size: 14px;
  color: #333;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}
ul,
ol {
  list-style: none;
}

img {
  border: none;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: #232323;
}

table {
  border-collapse: collapse;
  table-layout: fixed;
}

input,
textarea {
  outline: none;
  border: none;
}

textarea {
  resize: none;
  overflow: auto;
}

.clearfix {
  zoom: 1;
}

.clearfix:after {
  content: ".";
  width: 0;
  height: 0;
  visibility: hidden;
  display: block;
  clear: both;
  overflow: hidden;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.tl {
  text-align: left;
}

.tc {
  text-align: center;
}

.tr {
  text-align: right;
}

.ellipse {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inline {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

body {
  width: 100%;
  height: 100%;
  background-color: #25292d;
  header {
    height: 72px;
    border-bottom: 1px solid #666;
    position: relative;
    .header-img-l {
      padding: 10px 20px;
    }
    .header-img {
      position: absolute;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
    }
  }
  nav {
    &.container-fluid {
      height: 80px;
      line-height: 80px;
    }
    li {
      a {
        &.nav-link {
          padding: 0;
          margin: 0 40px;
        }
        &.active {
          color: #fff;
          border-bottom: 3px solid #685995;
        }
        color: #5d646f;
        &:hover {
          color: #fff;
          border-bottom: 3px solid #685995;
        }
      }
    }
  }
  .main {
    color: #fff;
    .main-header {
      height: 105px;
      line-height: 105px;
      background-color: #1e2125;
      .font-bold {
        font-size: 25px;
        font-weight: bold;
      }
      img {
        border-radius: 50%;
      }
      .text-right {
        color: #666;
        text-align: right;
        a {
          display: inline-block;
          width: 110px;
          height: 50px;
          line-height: 50px;
          color: #fff;
          text-decoration: none;
          font-size: 20px;
          background-color: #9579db;
          text-align: center;
          border-radius: 25px;
        }
      }
    }
    .main-body {
      .d-flex-item {
        min-height: 500px;
        background: url(./切片图片/main_1.jpg) no-repeat;
        background-size: cover;
        text-align: center;
        margin-top: -10px;
        h1 {
          margin-top: 200px;
        }
        p {
          padding: 10px 0;
        }
        button.btn {
          border-radius: 1rem;
        }
        &:nth-of-type(2) {
          background: url(./切片图片/main_2.jpg) no-repeat;
          background-size: cover;
        }
        &:nth-of-type(3) {
          background: url(./切片图片/main_3.jpg) no-repeat;
          background-size: cover;
        }
        &:nth-of-type(4) {
          background: url(./切片图片/main_4.jpg) no-repeat;
          background-size: cover;
        }
      }
    }
  }
  footer {
    width: 100%;
    height: 90px;
    line-height: 90px;
    background-color: #25292d;

    .navbar-nav {
      justify-content: space-around;
      flex-direction: row;
      text-align: center;
      li {
        width: 20%;
        &:nth-child(1) {
          background-color: #202428;
        }
        &:hover {
          background-color: #202428;
        }
      }
    }
  }
}
